#ifndef _EngineUIScrollFrame_h_
#define _EngineUIScrollFrame_h_

#include "BlazeEngineConfig.h"

#include "BlazeEngineUIFrame.h"

class _BlazeExports BeUIScrollFrame : public BeUIFrame
{
public:
	BeUIScrollFrame(const char* pcName);
	virtual ~BeUIScrollFrame();

	static void Install(lua_State* pLua);
	static void Uninstall();

protected:

	static int Lua_SetHorizontalScroll(lua_State* pLua);
	static int Lua_SetScrollChild(lua_State* pLua); 
	static int Lua_SetVerticalScroll(lua_State* pLua);
	static int Lua_UpdateScrollChildRect(lua_State* pLua);
	static int Lua_GetHorizontalScroll(lua_State* pLua);
	static int Lua_GetHorizontalScrollRange(lua_State* pLua);
	static int Lua_GetScrollChild(lua_State* pLua); 
	static int Lua_GetVerticalScroll(lua_State* pLua);
	static int Lua_GetVerticalScrollRange(lua_State* pLua);
};

#endif

